package com.sjy.ylxt.entity.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author: 史俊颖
 * @CreateTime: 2024-12-12
 * @Description: 添加用户接口
 */
@Data
public class AddAdminDTO {

    @NotBlank(message = "管理员姓名不能为空")
    private String adminName;

    @NotBlank(message = "手机号不能为空")
    private String phoneNumber;

    @NotBlank(message = "密码不能为空")
    private String passWord;
}
